package com.edu.whty.entity.system;

import com.edu.whty.entity.teacherassistant.TeachingInfo;
import com.edu.whty.entity.teacherassistant.TextbookModel;

import java.io.Serializable;
import java.util.List;


/**
 * Session用户,记录用户信息(修改谨慎)
 * @date 2014年11月24日
 */
public class SessionUser implements Serializable{

	private static final long serialVersionUID = -8861578027875749953L;
	
	/*----数据库字段----*/
	private String userId; //用户信息的主键
	private String userName;//用户名
	private String mobilePhone; //手机号码
	private String email;//邮箱地址
	private String realName;//用户真实姓名
	private String userType; //用户类型(0:学生,1:老师,2:学校管理员,3.机构管理员,4,超级管理员,5,家长)
	private String gender; //性别
	private String birthday;//出生年月
	private String address;//家庭住址
	private String status;//用户状态(0:正常，1:非正常)
	private String userSource ;//用户来源(使用枚举AdminConstant.USER_SOURCE_LOCAL  0  默认ebook当前系统；USER_SOURCE_YUN  =1:云教育，
								// AdminConstant.USER_SOURCE_DDJYY 2 点滴教育云)
	private String userLogoUrl;
	/*----可选字段----*/
	private String userTypeName;//用户类型名称
	private String schoolId; //学校ID
	private String schoolName; //学校名称
	private String classId;//班级ID
	private String className;//班级名称
	private String gradeId;//年级名称
	private String gradeName;//年级名称
	private List<TeachingInfo> teachingInfoList;//教师教学情况
	private List<TextbookModel> textbookList;//用户已下载的书籍信息集合
	private String limitCount;   //用户下载限制本数
	private String semesterType;//当前学期
	private String nowTime;//当前时间
	private String startTime;//授权开始时间
	private String endTime;//授权结束时间
	private String usessionid;//外部接口usessionid
	private String nickName;//昵称
	private String motto;//个性签名
	private String platformCode;//平台code
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getMobilePhone() {
		return mobilePhone;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getUserType() {
		return userType;
	}
	public void setUserType(String userType) {
		this.userType = userType;
	}
	public String getSchoolId() {
		return schoolId;
	}
	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}
	public String getSchoolName() {
		return schoolName;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getClassId() {
		return classId;
	}
	public void setClassId(String classId) {
		this.classId = classId;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public List<TeachingInfo> getTeachingInfoList() {
		return teachingInfoList;
	}
	public void setTeachingInfoList(List<TeachingInfo> teachingInfoList) {
		this.teachingInfoList = teachingInfoList;
	}
	public List<TextbookModel> getTextbookList() {
		return textbookList;
	}
	public void setTextbookList(List<TextbookModel> textbookList) {
		this.textbookList = textbookList;
	}
	public String getUserTypeName() {
		return userTypeName;
	}
	public void setUserTypeName(String userTypeName) {
		this.userTypeName = userTypeName;
	}
	public String getUserSource() {
		return userSource;
	}
	public void setUserSource(String userSource) {
		this.userSource = userSource;
	}	
	public String getGradeId() {
		return gradeId;
	}
	public void setGradeId(String gradeId) {
		this.gradeId = gradeId;
	}
	public String getGradeName() {
		return gradeName;
	}
	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}
	public String getUserLogoUrl() {
		return userLogoUrl;
	}
	public void setUserLogoUrl(String userLogoUrl) {
		this.userLogoUrl = userLogoUrl;
	}
	public String getSemesterType() {
		return semesterType;
	}
	public void setSemesterType(String semesterType) {
		this.semesterType = semesterType;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getNowTime() {
		return nowTime;
	}
	public void setNowTime(String nowTime) {
		this.nowTime = nowTime;
	}
	public String getUsessionid() {
		return usessionid;
	}
	public void setUsessionid(String usessionid) {
		this.usessionid = usessionid;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getMotto() {
		return motto;
	}
	public void setMotto(String motto) {
		this.motto = motto;
	}
	public String getLimitCount() {
		return limitCount;
	}
	public void setLimitCount(String limitCount) {
		this.limitCount = limitCount;
	}
	public String getPlatformCode() {
		return platformCode;
	}
	public void setPlatformCode(String platformCode) {
		this.platformCode = platformCode;
	}
	
}
